package com.yxw.yxnet_cd_center.common.enums;


import lombok.Getter;

/**
 * @desc: 消息发送类型枚举
 * @author: liuxin
 * @date: 2023.0922
 */
public enum NoticeTypeEnum {

    COME_TO_VISIT("1", "COME_TO_VISIT", "客户来访通知"),
    MESSAGE_REPLY("2", "MESSAGE_REPLY", "客户消息回复通知"),
    CUSTOMER_TRANSFER("3", "CUSTOMER_TRANSFER", "同事【客户转移】通知"),
    ORDER_NOTIFICATION("4", "ORDER_NOTIFICATION", "用户下单通知（商家端功能，客服平台只做监控）"),
    GROUP_SWITCH("5", "GROUP_SWITCH", "工作组转接通知"),
    WORKFLOW_STATE_CHANGE("6", "WORKFLOW_STATE_CHANGE", "工作流状态变更通知"),
    GROUP_CHAT_MESSAGES("7", "GROUP_CHAT_MESSAGES", "群聊消息通知"),
    TASK_ASSIGNMENT("8", "TASK_ASSIGNMENT", "工作流任务指派通知（待办事项通知）"),
    TESTIMONIALS("9", "TESTIMONIALS", "客服评价通知"),
    ONLINE_SUPPLEMENTARY_NOTICE("10", "ONLINE_SUPPLEMENTARY_NOTICE", "服离线后客户留言账号上线时补充通知"),
    SMS_CODE("11", "SMS_CODE", "短信验证码"),

    UPDATE_PWD_SMS_CODE("2", "UPDATE_PWD_SMS_CODE", "系统操作验证码,包含密码修改等");


    private NoticeTypeEnum(String codeType, String templateCode, String templateName) {
        this.codeType = codeType;
        this.templateCode = templateCode;
        this.templateName = templateName;
    }

    /**
     * 字段消息通知编码类型
     * 对应字典表
     */
    @Getter
    private String codeType;


    /**
     * 模板编码
     * 对应短信模板表
     */
    @Getter
    private String templateCode;

    /**
     * 模板名称
     * 对应短信模板表
     */
    @Getter
    private String templateName;
}
